//
//  AppDelegate.h
//  MemberProject
//
//  Created by MAC OS X on 15/4/1.
//  Copyright (c) 2015年 MAC OS X. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "RootNavigationController.h"
#import "MenuViewController.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property(strong,nonatomic)RootNavigationController *rootNav;
@property(strong,nonatomic)MenuViewController *menuVC;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;
//检查更新
-(void)checkVersion;


+(AppDelegate *)getInstance;

@end

